package com.woniu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 废品确认实体类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("confirm")
@ApiModel("废品确认实体类")
public class Confirm implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * 废品确认表
     */
    @ApiModelProperty("废品确认id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /*
     * 订单号
     */
    @TableField("order_num")
    @ApiModelProperty("订单号")
    private String orderNum;

    /*
     * 员工id
     */
    @TableField("employee_id")
    @ApiModelProperty("员工id")
    private Integer employeeId;

    /*
     * 员工名
     */
    @TableField("employee_name")
    @ApiModelProperty("员工名")
    private String employeeName;

    /*
     * 预估总价
     */
    @TableField("expect_price")
    @ApiModelProperty("预估总价")
    private BigDecimal expectPrice;

    /*
     * 实际总价
     */
    @TableField("real_price")
    @ApiModelProperty("实际总价")
    private BigDecimal realPrice;

    /*
     * 员工是否确认0待确认1已确认
     */
    @TableField("employee_confirm")
    @ApiModelProperty("员工确认状态")
    private Integer employeeConfirm;

    /*
     * 用户是否确认0待确认1已确认
     */
    @TableField("user_confirm")
    @ApiModelProperty("用户确认状态")
    private Integer userConfirm;

    /*
     * 站点是否确认0待确认1已确认2已驳回
     */
    @TableField("station_confirm")
    @ApiModelProperty("站点确认状态")
    private Integer stationConfirm;

    /*
     * 站点操作人id
     */
    @TableField("handler_id")
    @ApiModelProperty("站点操作人id")
    private Integer handlerId;

    /*
     * 操作时间
     */
    @TableField("handle_time")
    @ApiModelProperty("操作时间")
    private LocalDateTime handleTime;

    /*
     * 拒绝理由
     */
    @TableField("refuse_reason")
    @ApiModelProperty("拒绝理由")
    private String refuseReason;
}
